package com.sso.client.utils;

/**
 * @author : luyifei
 * @date : 2021/1/11
 */
public class Constants {

    public static final String TOKEN_KEY = "token";

    public static final String CODE_KEY = "code";

    public static final String COOKIE_PATH = "/";

    public static final String UTF_8 = "UTF-8";

    public static final String LOGIN = "/web/loginPage";

    public static final String LOGOUT = "/web/logout";

    public static final String VERIFY_TOKEN = "/api/verifyToken";

    public static final Integer COOKIE_AGE_NEGATIVE = -1;


    public static final String TOKEN_COOKIE_KEY = "token";
    public static final Integer COOKIE_AGE_ZERO = 0;
    public static final Integer TOKEN_TTL = 30 * 60 * 1000;
    public static final String SUCCESS = "00000";
}
